from abc import ABC

from src.application.common.interfaces.uow import UnitOfWork
from src.application.server.interfaces import ServerReader
from src.application.user.interfaces.reader.user_reader import UserReader
from src.application.user.interfaces.repo.user_repo import UserRepo


class ServerUoW(UnitOfWork, ABC):
    def __init__(
        self,
        server_reader: ServerReader,
    ) -> None:
        self.server_reader = server_reader
